import { PaginationParamsType } from "@/library/common/types"

type _UseAllType = {
    Id: number
    ShopCode: string
    DishId: number
    DishName: string
    DishCode: string
    Enable: boolean
    Price: string
    UpdatedAt: string
    CreatedAt: string
}

/**
 * 查询参数
 */
export type SelectParamsType = Partial<Pick<_UseAllType, "ShopCode" | "DishId" | "DishName" | "DishCode">> & PaginationParamsType

/**
 * 查询响应 Data
 */
export type DataType = Omit<_UseAllType, "">